<!--
描述：校区信息
开发人：fwb
开发日期：2017年8月22日
-->
<template lang="pug">
    keep-alive
        kalix-table(bizKey="schoolzone" title='校区信息' v-bind:targetURL="targetURL" v-bind:bizDialog="bizDialog"
        v-bind:bizSearch="'SchoolZoneSearch'" v-bind:btnList="btnList" v-bind:isFixedColumn="isFixedColumn")
            template(slot="tableColumnSlot")
                el-table-column(prop="xqdm" label="校区代码" align="center" width="220px")
                el-table-column(prop="zwmc" label="名称" align="center" width="320px")
                el-table-column(prop="zwjc" label="简称" align="center" width="220px")
                el-table-column(prop="dz" label="地址" align="center" width="350px")
                el-table-column(prop="yb" label="邮编" align="center" width="180px")
                el-table-column(prop="hcz" label="火车站" align="center" width="180px")
</template>

<script type="text/ecmascript-6">
    import {schoolZoneURL, ToolButtonList} from '../../config.toml'

    export default {
        name: 'kalix-admin-schoolzone',
        data() {
            return {
                btnList: ToolButtonList,
                targetURL: schoolZoneURL,
                bizDialog: [
                    {id: 'view', dialog: 'SchoolZoneView'},
                    {id: 'edit', dialog: 'SchoolZoneAdd'},
                    {id: 'add', dialog: 'SchoolZoneAdd'}
                ],
                isFixedColumn: true
            }
        },
        components: {},
        created() {
        },
        activated() {
        },
        deactivated() {
        },
        methods: {}
    }
</script>

<style scoped lang="stylus">
</style>
